#ifndef __SYS_ERR_CODE_H__
#define __SYS_ERR_CODE_H__

#define ERR_CODE(errCode,errID,Message) \
class errCode:CsysErr                   \
{                                       \
public:                                 \
    errCode():CsysErr(errID,Message){}  \
    virtual errCode(){}                 \
}

ERR_CODE(RETURN_OK,1000,"process ok");

#endif //__SYS_ERR_CODE_H__